struct context {
    Block *top;
    Block *curtop;					/* Current parse top */
    Block *html, *head, *title, *body, *doctype;	/* Predefined */
    Block *lastbegin;					/* last seen tag */
    Block *lastend;					/* last seen end tag */
    int inPre;						/* count of <PRE>s */
};

extern struct context *current;
extern HTMLErrorHandler _errorHandler;

extern char *_NoMem;

extern atom atomPRE;			/* Cache atoms for speed */
extern atom atomHTML;
extern atom atomHEAD;
extern atom atomTITLE;
extern atom atomBODY;

extern struct context *_initTree();
extern void _insertBlock(Block *parent, Block *child);
